<include file="public@header"/>
<div class="wrap js-check-wrap">
    <ul class="nav nav-tabs">
        <li class="active"><a href="{:url('Web/webList')}">站点列表</a></li>
        <li><a href="{:url('Web/deploy')}">站点部署</a></li>
    </ul>
    <div class="pagination">{$list->render()}</div>
    <div class="row">
        <div class="col-md-12">
            <table class="table table-hover table-bordered">
                <thead>
                <tr>
                    <th>ID</th>
                    <th>站点IP</th>
                    <th>测试站域名</th>
                    <th>正式站域名</th>
                    <th>管理员</th>
                    <th>转移状态</th>
                    <th>创建时间</th>
                    <th>更新时间</th>
                </tr>
                </thead>
                <tbody>
                <foreach name="list" item="vo">
                    <tr>
                        <td>{$vo.id}</td>
                        <td>{$vo.server_ip}</td>
                        <td>{$vo.old_server_name}</td>
                        <td>{$vo.new_server_name}</td>
                        <td>{$vo.admin_name}</td>
                        <td>{$vo.status == 1 ? '<b style="color: green">完成</b>' : '<b style="color: red">未知</b>'}</td>
                        <td>{$vo.created_at}</td>
                        <td>{$vo.updated_at}</td>
                    </tr>
                </foreach>
                </tbody>
            </table>
        </div>
    </div>
    <div class="pagination">{$list->render()}</div>
</div>
